package com.dobbyspringside.examples.quickstart.rest;

import com.dobbyspringside.examples.quickstart.service.task.TaskService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Validator;

/**
 * Task的Restful API的Controller.
 *
 * Created by liguoqing on 2016/2/17.
 */
@RestController
@RequestMapping(value = "/api/v1/task")
public class TaskRestController {

    private static final Logger logger = LoggerFactory.getLogger(TaskRestController.class);

    @Autowired
    private TaskService taskService;

    @Autowired
    private Validator validator;
}
